import React from "react"
import "./style.less"
export default class RoommateHead extends React.Component{
    backLastPage(){
        window.history.back();
    }
    render (){
        return (
            <div className="home-header-container">
                <div className="home-header-left" onClick={this.backLastPage.bind(this)}>
                    <i className="iconfont icon-zuo"></i>
                </div>
                <div className="roommate-header-middle">
                   找室友
                </div>
                <div className="home-header-right">
                    <i className="iconfont icon-xiaoxi"></i>
                </div>
            </div>
        )
    }
}
